<template>
  <div class="app">
    <nav>
      <router-link to="/">首页</router-link> |
      <router-link to="/todo">TodoList</router-link> |
      <router-link to="/about">关于我</router-link>|
        <a href="https://gitee.com/duan_jinyou/vue.git">gitee仓库</a>
    </nav>
    <router-view></router-view>
  </div>
</template>

<script setup>
// 简化的 App.vue，仅包含导航栏和路由视图
</script>

<style>
.app {
  font-family: Arial, sans-serif;
  text-align: center;
  margin-top: 60px;
}

nav {
  margin-bottom: 20px;
}

nav a {
  padding: 10px;
  text-decoration: none;
  color: #333;
}

nav a.router-link-active {
  font-weight: bold;
  color: #42b983;
}
</style>
